import time
import sensor
senscr.reset()
senscr.set_pixformat(sensor.RGB565)
senscr.set_framesize(sensor.QVGA)
senscr.skip_frames(time = 2000)
while(True):
    img = senscr.snapshot()
    img.draw_string(0,0,"Hello World!",color=(255,0,0))
    img.draw_rectangle(10,10,100,100,color=(0,255,0))
    img.draw_cross(50,50,color=(0,0,255))
    img.draw_line(10,10,100,100,color=(255,255,0))
    img.draw_circle(50,50,50,color=(0,255,255))
    img.draw_ellipse(100,100,100,50,color=(255,0,255))
    img.draw_image(img,0,0)
    time.sleep(1000)